﻿<div class="right_col" id="right_col">
<?PHP wp_reset_postdata(); ?>

<!-- custom search+post area -->
<div class="sidebar_data">
<h2>Services</h2>
<form action="" id="sidebarInputForm">
    <input type="text" size="45" id="get_input" class="" tabindex=1 />
    
	<div class="clear"></div>
    <div class="customActionDivM">
            <div id="divInputSearchThisSite" >
                <input type="radio" name="sidebarInput" class="inputSearch" value="site" tabindex=2 checked />
                <label>Search this Site</label>
            </div>
            <div id="divInputSearchWeb">
                <input type="radio" name="sidebarInput" class="inputSearch" value="web" tabindex=3 />
                <label>Search web</label>
            </div>
    </div>
	

    <input type="submit" value="Submit" id="get_input_SidebarSubmit" name="submit" class="inputSearch submit" tabindex="6" />
    <!--<input type="reset" value="Reset search box" name="resetSearchBox" class="inputSearch" />-->
</form>

<!--     sidebar starts here   -->
<div class="sidebar_data single_author_info">
    <h2>Author Post Archive</h2>
	<label>Total post: </label> <?PHP echo get_the_author_posts(); ?>
</div>
<div>
    <strong>Recent posts by <?PHP echo get_the_author_meta('display_name'); ?></strong>:<br/>
    <ul class="comment_collection_sidebar">
            <?php 
			$the_query = new WP_Query( 'author='.get_the_author_meta( 'ID' ) );
			while ( $the_query->have_posts() ) : $the_query->the_post();
				echo '<li><a href="'. get_permalink(). '">'.get_the_title().'</a></li>';
			endwhile;
			?>
    </ul>
</div>

<div class="sidebar_data">
	<h2>Find us on Facebook</h2>
	<iframe src="<?PHP echo themeGetOption('facebook_like_template_box'); ?>" style='height:500px;'></iframe>
</div>


<!-- sidebar div ends here -->
</div>